package com.xhl.consul.tool.entity;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author CazCen
 * @Date 2021/11/25 15:56
 */
@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class EmailObject implements Serializable {

    private static final long serialVersionUID = -8906224717560930914L;


//        email.add("email", "cazcen@163.com");
//        email.add("subject", "圣诞节");
//        email.add("body", "Hi Body 圣诞节 快乐");
//        email.add("body", "Hi Body 圣诞节 快乐");

    public EmailObject(){

    }

    public EmailObject(String email){
        this.email = email;
    }

    private String email;

    private String subject;

    private List<String> body = new ArrayList<>();

}
